package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户分类统计
 *
 * @author wanghang
 * @version 1.0
 * @date 2022/7/28 15:58
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserStatisticsVo {

    // 全部用户
    @JsonSerialize(using = ToStringSerializer.class)
    private Long register = 0L;

    // 活跃用户
    @JsonSerialize(using = ToStringSerializer.class)
    private Long active = 0L;

    // 管理员
    @JsonSerialize(using = ToStringSerializer.class)
    private Long admin = 0L;

    // 运营
    @JsonSerialize(using = ToStringSerializer.class)
    private Long operator = 0L;

    // 审核员
    @JsonSerialize(using = ToStringSerializer.class)
    private Long auditor = 0L;

    // 已禁用
    @JsonSerialize(using = ToStringSerializer.class)
    private Long disable = 0L;

    // 三方
    @JsonSerialize(using = ToStringSerializer.class)
    private Long external = 0L;

}
